package com.healthtop.service;

import com.healthtop.dto.MenuDto;
import com.healthtop.model.XsMenu;

import java.util.List;
import java.util.Map;

public interface XsMenuService {

   MenuDto selectMenuById(MenuDto menuDto);

    void operateMenu(MenuDto menuDto);

    void delete(Long id);

    List<XsMenu> selectParentMenu();

    List<Map> getMenusByRoleId(long roleId);

 XsMenu getMenuByPath(String servletPath);
}
